package com.aaa.mrcai.service;

import com.aaa.mrcai.pojo.entity.Dept;
import com.aaa.mrcai.pojo.vo.DepartVO;
import com.aaa.mrcai.query.DeptQuery;
import com.aaa.mrcai.result.AjaxResult;

/**
 * TODO
 *
 * @author 惠普
 * @date 2021/12/2  20:50
 */
public interface DepartService {
    AjaxResult list(DeptQuery query);

    AjaxResult listState();

    AjaxResult addDepart(DepartVO depart);

    AjaxResult getDepart(int id);

    AjaxResult delDepart(int id);

    AjaxResult updateDepart(DepartVO dept);

    AjaxResult listTree();

    AjaxResult listSubDepart(DeptQuery query);


    AjaxResult listSupDepart();

    AjaxResult listType();

   /* AjaxResult downloadInfo(DeptQuery query);*/
}
